import Vue from 'vue'
import Vuex from 'vuex'
import video from './modules/video.js'
import screen from './modules/screen.js'
import stage from './modules/stage.js'
import node from '../node/store.js'
import videoNode from './modules/videoNode.js'

import bgy from 'bgy'

Vue.use(Vuex)

export default new Vuex.Store({
  modules: {
    ...bgy.vuex,
    video,
    videoNode,
    stage,
    screen,
    node
  }
})
